#pragma once

class QkToolBar : public QWidget
{
	Q_OBJECT
public:
	QkToolBar();
	~QkToolBar();

public:
	void setActions(const QList<QAction *> &actions);

protected:
//	void paintEvent(QPaintEvent *event);

private slots:
	void on_buttonClicked(QAbstractButton *button);

private:
	QHBoxLayout *m_layout;
	QButtonGroup m_buttonGroup;	
	QList<QAction *> m_actions;
};
